diff options
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(system)/email-template/page.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/(system)/email-template/page.tsx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/app/[lng]/evcp/(evcp)/(system)/email-template/page.tsx b/app/[lng]/evcp/(evcp)/(system)/email-template/page.tsx index 16c75dab..c4437994 100644 --- a/app/[lng]/evcp/(evcp)/(system)/email-template/page.tsx +++ b/app/[lng]/evcp/(evcp)/(system)/email-template/page.tsx @@ -15,6 +15,7 @@ import { Shell } from "@/components/shell" import { getValidFilters } from "@/lib/data-table"
import { Skeleton } from "@/components/ui/skeleton"
import { DataTableSkeleton } from "@/components/data-table/data-table-skeleton"
+import { useTranslation } from "@/i18n"
export const metadata: Metadata = {
title: "템플릿 관리",
@@ -22,10 +23,14 @@ export const metadata: Metadata = { }
interface TemplatePageProps {
+ params: Promise<{ lng: string }>
searchParams: Promise<SearchParams>
}
export default async function TemplatePage(props: TemplatePageProps) {
+ const { lng } = await props.params
+ const { t } = await useTranslation(lng, 'menu')
+
const searchParams = await props.searchParams
const search = SearchParamsEmailTemplateCache.parse(searchParams)
@@ -48,7 +53,7 @@ export default async function TemplatePage(props: TemplatePageProps) { <div>
<div className="flex items-center gap-2">
<h2 className="text-2xl font-bold tracking-tight">
- 이메일 템플릿 관리
+ {t('menu.information_system.email_template')}
</h2>
{/* <InformationButton pagePath="evcp/equip-class" /> */}
</div>
@@ -73,4 +78,4 @@ export default async function TemplatePage(props: TemplatePageProps) { </React.Suspense>
</Shell>
)
-}
\ No newline at end of file +}
|
